package com.ruoyi.project.system.domain.dto;

import com.ruoyi.project.system.domain.SmAutonomy;
import lombok.Data;

@Data
public class ThrEleResult {

    private boolean isPass;

    private String msg = "成功";

    private SmAutonomy smAutonomy;

    public ThrEleResult() {
    }

    public ThrEleResult(SmAutonomy smAutonomy) {
        this.smAutonomy = smAutonomy;
        this.isPass = true;
    }

    public ThrEleResult(String msg,SmAutonomy smAutonomy) {
        this.smAutonomy = smAutonomy;
        this.msg = msg;
        this.isPass = false;
    }
}
